Skip to content

Claude/fix button window sizing sch q1#22

Merged
NerdsCorp merged 2 commits into
mainfrom
claude/fix-button-window-sizing-schQ1
Dec 28, 2025
Merged

Claude/fix button window sizing sch q1#22
NerdsCorp merged 2 commits into
mainfrom
claude/fix-button-window-sizing-schQ1

Conversation

@NerdsCorp

Copy link
Copy Markdown
Owner

No description provided.

- Increase dialog height from 320 to 350 pixels for better visual balance
- Move action buttons down from Y=270 to Y=290
- Provides more comfortable spacing between status label and buttons
- Increases bottom margin from 22px to 32px for less cramped appearance

Resolves issue where dialog window wasn't properly sized for button layout.
The server was returning HTTP 400 (ValidationProblemDetails) because
ASP.NET Core model binding failed when trying to bind IFormFileCollection
as a [FromForm] parameter.

Changes:
- Remove [FromForm] IFormFileCollection parameter from both endpoints
- Access files directly via Request.Form.Files instead
- This is the correct approach for multipart file uploads in ASP.NET Core

The uploads were failing with "Error while copying content to a stream"
because the model validation was rejecting the requests before they
reached the controller logic.

Fixes issue where all upload attempts returned 400 Bad Request.
@NerdsCorp NerdsCorp merged commit 3a7d67a into main Dec 28, 2025
1 check passed
@NerdsCorp NerdsCorp deleted the claude/fix-button-window-sizing-schQ1 branch December 28, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants